package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 项目附件
 *
 * @author ccc
 * @date 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_project_file")
@TableAlias("projectFile")
@ApiModel(value = "BusProjectFile对象", description = "项目附件表")
public class BusProjectFile extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "projectFileId")
    private String projectFileId;

    @ApiModelProperty(value = "申请记录ID")
    private Long purchaseId;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "创建人ID")
    private Long userId;

    @ApiModelProperty(value = "创建人名称")
    private String userName;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件相对地址")
    private String filePath;

    @ApiModelProperty(value = "是否同步SRM，Y是，N否")
    private String syncFlag;

    @ApiModelProperty(value = "流程唯一标识")
    private String uniqueFlag;

    @ApiModelProperty(value = "SRM附件组ID")
    private String fileGroupId;

}
